package com.example.javasample.service.impl;

import com.example.javasample.domain.VehicleDO;
import com.example.javasample.mapper.VehicleMapper;
import com.example.javasample.service.IVehicleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * VehicleServiceImpl
 *
 * @author Kylin
 */
@Service
public class VehicleServiceImpl implements IVehicleService {

    @Autowired
    private VehicleMapper vehicleMapper;

    @Override
    public List<VehicleDO> list(VehicleDO vehicle) {
        return vehicleMapper.list(vehicle);
    }

}
